package com.jinit.jia.boot.autoconfigure;

import com.jinit.jia.boot.AutoConfigurationImportSelector;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * EnableAutoConfiguration
 *
 * @author JInit
 * @date 2021-08-04
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited

@AutoConfigurationPackage
@Import(AutoConfigurationImportSelector.class)
public @interface EnableAutoConfiguration {


    /**
     * 排除特定的自动配置类
     * @return
     */
    Class<?>[] exclude() default {};

    /**
     * 排除特定的自动配置类名称
     * @return
     */
    String[] excludeName() default {};
}
